package com.tarena.lbs.attach.api.dto;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.Positive;

@Data
public class QrCodeDTO {
    @NotBlank(message = "二维码内容不能为空")
    private String content;

    @Positive(message = "宽度必须为正数")
    private int width = 200;

    @Positive(message = "高度必须为正数")
    private int height = 200;
}
